package com.hx.skyDrive.biz.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hx.skyDrive.biz.UsersBiz;
import com.hx.skyDrive.entity.Users;
import com.hx.skyDrive.mapper.UsersMapper;

@Service
public class UsersBizImpl implements UsersBiz{
	@Autowired
	private UsersMapper mapper;

	@Override
	public Users login(Users user) {
		return mapper.find(user);
	}

	@Override
	public int reg(Users user) {
		return mapper.reg(user);
	}

	@Override
	public Users adminLogin(Users users) {
		return mapper.adminLogin(users);
	}
	
}
